package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 tb_ip
 * 
 * @author ruoyi
 * @date 2023-01-20
 */
public class TbIp extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** ip */
    @Excel(name = "ip")
    private String ip;

    /** 掩码 */
    @Excel(name = "掩码")
    private String mask;

    /** 网关 */
    @Excel(name = "网关")
    private String gateway;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setIp(String ip) 
    {
        this.ip = ip;
    }

    public String getIp() 
    {
        return ip;
    }
    public void setMask(String mask) 
    {
        this.mask = mask;
    }

    public String getMask() 
    {
        return mask;
    }
    public void setGateway(String gateway) 
    {
        this.gateway = gateway;
    }

    public String getGateway() 
    {
        return gateway;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("ip", getIp())
            .append("mask", getMask())
            .append("gateway", getGateway())
            .toString();
    }
}
